import mitt from 'mitt'

export type Events = {
  refreshCouponManage?: string
  refreshExchangeCommodity?: string
  refreshUnpackList?: string
  refreshGroupManageList?: string
  refreshTimeLimitList?: string
  refreshJdgGoodsList?: string
  refreshJdlGoodsList?: string
  refreshXyGoodsList?: string
  refreshIndexBlockList?: string
  refreshQuestionList?: string
  refreshSupplierList?: string
  refreshFormationList?: string
  refreshSalesCompanysList?: string
  refreshWidthdrawList?: string
  refreshQzylotteryList?: string
}

export const bus = mitt<Events>()
